import { Rule, RuleType } from "@midwayjs/validate";

export class NetWorkBaseData<T>{
    @Rule(RuleType.string().required())
    userid:number;
    @Rule(RuleType.any())
    data?:T;
}